/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model.dao;

import model.bean.PadronElectoral;
import java.util.List;
import org.springframework.dao.DataAccessException;

/**
 * @Archivo PadronElectoralDao.java
 * @Fecha                @Autor   @Cambios
 * 21/01/2011 04:02:44 PM       moshiro
 */
public interface PadronElectoralDao {

    public Long agregarPadronElectoral(PadronElectoral padronElectoral) throws DataAccessException;

    public Integer modificarPadronElectoral(PadronElectoral padronElectoral) throws DataAccessException;

    public Integer eliminarPadronElectoral(Long codigo) throws DataAccessException;

    public Integer generarPadronElectoral(Long codigo) throws DataAccessException;
    
    public List<PadronElectoral> listarPadronElectoral(PadronElectoral padronElectoral) throws DataAccessException;
}
